package com.cjack.frenchexcel.exception;

import com.cjack.frenchexcel.config.ErrorCodeDefine;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class DateErrorException extends Exception {
    private static final long serialVersionUID = 7457531706599568095L;
    private Integer code = ErrorCodeDefine.DATE_ERROR;
    private String message = ErrorCodeDefine.DATE_ERROR_MSG;

    public DateErrorException(String message) {
        this.message = message;
    }
}
